<template>
  <el-container direction="vertical">
    <Header/>
    <el-container>
      <Aside/>
      <el-container>
        <el-main><router-view></router-view></el-main>
        <el-footer></el-footer>
      </el-container>
    </el-container>
  </el-container>
</template>

<script>
import Header from '../../components/header.vue'
import Aside from '../../components/aside.vue'
export default {
  name: 'adminDashboard',
  components: {
    // eslint-disable-next-line no-unused-expressions
    Header,
    Aside
  }
}

</script>

<style scoped>
.el-header, .el-footer, .el-menu {
  background-color: #dde9f6;
  color: #333;
  text-align: center;
  line-height: 10%;
  font-size: larger;
}

.el-menu-item, .el-tem, .el-col, .el-col {
  height: 70px;
  text-align: center;
}

.el-aside {
  background-color: #545C64;
  color: #333;
  text-align: center;
}

.el-main {
  background-color: #f4f9ff;
  color: #333;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}

html, body, #app, .el-container {
  padding: 0;
  margin: 0;
  height: 100%;
}

.text {
  font-size: 20px;
}

.item {
  padding: 8px 0;
  height: 50px;
  font-size: larger;
}

.box-card {
  height: 600px;
  margin-left: 20px;
  margin-top: 50px;
}
.username {
  font-size: x-large;
  font-family: "Apple SD Gothic Neo",serif;
  margin-left: 0px;
  width: 100px;
}

.box-card1 {
  margin-left: 80px;
}

.box-card2 {
  margin-right: 20%;
}
.user-avator {
  height: 50px;
}
.el-menu-item {
  font-size: larger;

}
.post-card {
  margin-left: 80px;
  height: 240px;
  margin-top: 10px;
}
.post-title {
  display: flex;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 2px solid #ccc;
  margin-bottom: 20px;
  height: 30px;
}
.post-content {
  line-height:1.7;
  background-color:#dde9f6;
  height: 95px;
  white-space: pre-line;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.post-footer {
  line-height:2;
  color: #999;
}
.title-text {
  align-items: last;
  padding-bottom: 20px;
  margin-bottom: 20px;
  font-size: xx-large;
}
.el-post-title {
  font-size: larger;
  font-family: "Apple Color Emoji",serif;
}

.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 200px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n+1) {
  background-color: #d3dce6;
}
.el-row {
  margin-bottom: 20px;
}
.el-col {
  border-radius: 4px;
}
.bg-purple-dark {
  background: #99a9bf;
}
.bg-purple {
  background: #d3dce6;
}
.bg-purple-light {
  background: #e5e9f2;
}
.grid-content {
  border-radius: 4px;
  min-height: 36px;
}
.row-bg {
  padding: 10px 0;
  background-color: #f9fafc;
}
.user-info-cont {
  padding-left: 50px;
  flex: 1;
  font-size: 14px;
  color: #999;
  margin-top: 0;
}

.praise-font {
  font-size: large;
}
</style>
